package student;

public class Student {
    int id=0;
    String name="Anonymous";
    double score=0;
    public Student(int id,String name,double score )
    {
        this.id=id;
        this.name=name;
        this.score=score;
    }
    public Student() {}
    public void setId(int id) {
        this.id = id;
    }
    public void setName(String name) {
        this.name = name;
    }
    public void setScore(double score) {
        this.score = score;
    }
    public void showId()
    {
        System.out.println(id);
    }
    public void showName()
    {
        System.out.println(name);
    }
    public void showScore()
    {
        System.out.printf("%g\n",score);
    }
}
